<template>
  <router-view v-slot="{ Component }" v-wechat-title="$route.meta.title">
    <transition>
      <keep-alive :include="keepAlive">
        <component class="child-view" :is="Component"/>
      </keep-alive>
    </transition>
  </router-view>
</template>

<script setup>
import {computed, onMounted} from "vue";
import {useStore} from "vuex";

const store = useStore()

onMounted(() => {

});

const keepAlive = computed(() => store.state.keepAlive)
</script>

<style scoped>

</style>
